import { PageRO } from '@/api/common';


export interface ContentShowVO {
    id: string;
    title: string;
    label: string;
    summary: string;
    cover: string;
    createName: string;
    createTime: string;
    supportNum: number;
    favoriteNum: number;
    readNum: number;
    support: boolean;
    favorite: boolean;
}

export interface ContentAddRO {
    title?: string;
    content?: string;
    label?: string;
    categoryId?: string;
    summary?: string;
    columnId?: string;
    topicId?: string;
    cover?: string;
}

export interface ContentPageRO extends PageRO {
    title?: string;
    content?: string;
    label?: string;
    categoryId?: string;
    summary?: string;
    columnId?: string;
    topicId?: string;
    cover?: string;
    userId?: string;
}

export interface ContentEditRO {
    id?: string;
    title?: string;
    content?: string;
    label?: string;
    categoryId?: string;
    summary?: string;
    columnId?: string;
    topicId?: string;
    cover?: string;
}

export interface ContentVO {
    id: string;
    title: string;
    content: string;
    label: string;
    categoryId: string;
    summary: string;
    columnId: string;
    topicId: string;
    cover: string;
    createName: string;
    createTime: string;
    supportNum: number;
    favoriteNum: number;
    readNum: number;
    support: boolean;
    favorite: boolean;
    commentNum: number;
}

export interface ContentHotVO {
    id: string;
    title: string;
}

export interface CountVO {
    supportNum?: number;
    favoriteNum?: number;
    readNum?: number;
}
